home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
sound
/
players
/
mplay.lzh
/
mplay.man
next >
Wrap
Text File
|
1991-07-24
|
2KB
|
58 lines
PLAY(1) USER COMMANDS PLAY(1)
NAME
play - play sound files
SYNOPSIS
play {file.snd speed | file.speed}
DESCRIPTION
Plays a list of files at specified speeds. Files are buffered one
in advance, so while one is playing, the next is loading. At this rate,
sounds can be played approximately continuously from floppy disk file
(and definately continuously from a hard drive).
Speeds may be specified in the file extension, or after the filename.
Speeds less than 230 are interpreted as multiples of 100Hz.
If any key is pressed while the sounds are playing, the current sound
finishes and the program terminates.
EXAMPLES
play x.snd 8000 y.100 z.80
-> Play x.snd at 8KHz, then y.100 at 10KHz, then z.80 at 8KHz.
NOTES
Supports TOS, ArgV, and Xarg argument passing schemes.
Tested under TOS 1.4 on ST.
Written in FTL Modula-2 with a small piece of assembler to process the
interrupt to actually output the sound.
The actual frequency used to play the sound is as close as absolutely
possible.
AUTHOR
Warwick Allison
warwick@cs.uq.oz.au
BUGS
Can only play up to about 21KHz or 22KHz on an 8MHz ST - maybe more
on faster machines - let me know.
It is a bit pig-headed with Timer A - it just uses it, then turns it
off, ignoring anything else that may have been using it.
Can not play at speeds < 230Hz (Except 100Hz and 200Hz).
Does not exploit STe/TT sound features.
Has not been technically tested. For all I know it is out by 500Hz
on every sample - but I doubt it.
COPYRIGHT
If any large British boardgame manufacturer has a paper version of
this program for which it has the rights to produce a computerised version
that goes DING, then this program may not be legal.
This program is in the Public Domain. Do anything with it - but any
trouble your cause (including, but not limited to keeping the household
awake) is your own resposibility.
PLAY(1) USER COMMANDS PLAY(1)